/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plash.events;

/**
 *
 * @author User
 */
public class MouseEvent extends Event
{
    public static final String MOUSE_UP = "mouse_up";
    public static final String MOUSE_DOWN = "mouse_down";
    public static final String MOUSE_MOVE = "mouse_move";
    public static final String CLICK = "mouse_clicked";
    public static final String DOUBLE_CLICK = "mouse_double_clicked";
    public static final String MOUSE_DRAGGED = "mouse_dragged";
    public static final String MOUSE_OVER = "mouse_over";
    public static final String MOUSE_OUT = "mouse_out";
    
    private int _localMouseX;
    private int _localMouseY;
    
    
    public MouseEvent(String type, int localMouseX, int localMouseY)
    {
        super(type);
        _localMouseX = localMouseX;
        _localMouseY = localMouseY;
    }

    public int getLocalMouseX()
    {
        return _localMouseX;
    }

    public int getLocalMouseY()
    {
        return _localMouseY;
    }
}
